/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bank.notifications;

import frmwrk.core.AbstractNotification;
import frmwrk.core.Account;
import frmwrk.core.Entry;

/**
 *
 * @author kgergis
 */
public class OrganizationNotification extends AbstractNotification {

    private static OrganizationNotification notification = null;

    private OrganizationNotification() {
    }

    public static OrganizationNotification getInstance() {
        if (notification == null) {
            notification = new OrganizationNotification();
        }
        return notification;
    }

    @Override
    public boolean isEntryNotified(Account acc, Entry entry) {
        System.out.println("E-Mail is sent to company");
        return true;
    }
}
